import {
  Request
} from "../index.js";
//添加历史记录
export function InsertFootPrint(userId, data) {
  return Request({
    url: "/wxapplet/addgoodshistories",
    method: 'post',
    data: {
      userId: userId,
      data: data,
    }
  })
}
//获取历史记录
export function getFootPrint(data) {
  return Request({
    url: "/wxapplet/goodshistories",
    method: 'post',
    data: {
      userId: data,
    }
  })
}